package com.hb.trans.mvp.contract

import com.basiclib.inter.IModel
import com.basiclib.inter.IMvpView
import com.hb.trans.bean.Base
import com.hb.trans.bean.EnrollCount
import com.hb.trans.bean.SchoolDetail
import io.reactivex.Observable

interface SchoolInfoContract {

    interface View : IMvpView {
        fun setupSchoolDetail(schoolDetail: SchoolDetail?)
        fun setupEnrollCount(enrollCount: EnrollCount?)
    }


    interface Model : IModel {

        fun getSchoolDetail(schoolId: String): Observable<Base<SchoolDetail>>
        fun getEnrollCount(inscode: String): Observable<Base<EnrollCount>>
    }
}